home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / info / emacs-19 (.txt) < prev    next >
GNU Info File  |  1994-10-05  |  42KB  |  826 lines

  1. This is Info file ../info/emacs, produced by Makeinfo-1.54 from the
  2. input file emacs.texi.
  3. File: emacs,  Node: General Variables,  Next: Misc Variables,  Up: Environment
  4. General Variables
  5. -----------------
  6. `AUTHORCOPY'
  7.      The name of a file used to archive news articles posted with the
  8.      GNUS package.
  9. `CDPATH'
  10.      Used by the `cd' command.
  11. `DOMAINNAME'
  12.      The name of the internet domain that the machine running Emacs is
  13.      located in.  Used by the GNUS package.
  14. `EMACSDATA'
  15.      Used to initialize the variable `data-directory' used to locate the
  16.      architecture-independent files that come with Emacs.  Setting this
  17.      variable overrides the setting in `paths.h' when Emacs was built.
  18. `EMACSLOADPATH'
  19.      A colon-separated list of directories from which to load Emacs Lisp
  20.      files.  Setting this variable overrides the setting in `paths.h'
  21.      when Emacs was built.
  22. `EMACSLOCKDIR'
  23.      The directory that Emacs places lock files--files used to protect
  24.      users from editing the same files simultaneously.  Setting this
  25.      variable overrides the setting in `paths.h' when Emacs was built.
  26. `EMACSPATH'
  27.      The location of Emacs-specific binaries.  Setting this variable
  28.      overrides the setting in `paths.h' when Emacs was built.
  29. `ESHELL'
  30.      Used for shell-mode to override the `SHELL' environment variable.
  31. `HISTFILE'
  32.      The name of the file that shell commands are saved in between
  33.      logins.  This variable defaults to `~/.history' if you use (t)csh
  34.      as shell, to `~/.bash_history' if you use bash, to `~/.sh_history'
  35.      if you use ksh, and to `~/.history' otherwise.
  36. `HOME'
  37.      The location of the user's files in the directory tree; used for
  38.      expansion of file names starting with a tilde (`~').  On MS-DOS, it
  39.      defaults to the directory from which Emacs was started, with `/bin'
  40.      removed from the end if it was present.
  41. `HOSTNAME'
  42.      The name of the machine that Emacs is running on.
  43. `INCPATH'
  44.      A colon-separated list of directories.  Used by the `complete'
  45.      package to search for files.
  46. `INFOPATH'
  47.      A colon separated list of directories holding info files.  Setting
  48.      this variable overrides the setting in `paths.el' when Emacs was
  49.      built.
  50. `LOGNAME'
  51.      The user's login name.  See also `USER'.
  52. `MAIL'
  53.      The name of the user's system mail box.
  54. `MAILRC'
  55.      Name of file containing mail aliases.  This defaults to
  56.      `~/.mailrc'.
  57.      Name of setup file for the mh system.  This defaults to
  58.      `~/.mh_profile'.
  59. `NAME'
  60.      The real-world name of the user.
  61. `NNTPSERVER'
  62.      The name of the news server.  Used by the mh and GNUS packages.
  63. `ORGANIZATION'
  64.      The name of the organization to which you belong.  Used for
  65.      setting the `Organization:' header in your posts from the GNUS
  66.      package.
  67. `PATH'
  68.      A colon-separated list of directories in which executables reside.
  69.      (On MS-DOS, it is semicolon-separated instead.)  This variable is
  70.      used to set the Emacs Lisp variable `exec-path' which you should
  71.      consider to use instead.
  72. `PWD'
  73.      If set, this should be the default directory when Emacs was
  74.      started.
  75. `SAVEDIR'
  76.      The name of a directory in which news articles are saved by
  77.      default.  Used by the GNUS package.
  78. `SHELL'
  79.      The name of an interpreter used to parse and execute programs run
  80.      from inside Emacs.
  81. `TERM'
  82.      The name of the terminal that Emacs is running on.  The variable
  83.      must be set unless Emacs is run in batch mode.  On MS-DOS, it
  84.      defaults to `internal', which specifies a built-in terminal
  85.      emulation that handles the machine's own display.
  86. `TERMCAP'
  87.      The name of the termcap library file describing how to program the
  88.      terminal specified by the `TERM' variable.  This defaults to
  89.      `/etc/termcap'.
  90. `TMPDIR'
  91.      Used by the Emerge package as a prefix for temporary files.
  92.      This specifies the current time zone and possibly also daylight
  93.      savings information.  On MS-DOS, the default is based on country
  94.      code; see the file `msdos.c' for details.
  95. `USER'
  96.      The user's login name.  See also `LOGNAME'.  On MS-DOS, this
  97.      defaults to `root'.
  98. `VERSION_CONTROL'
  99.      Used to initialize the `version-control' variable (*note Backup
  100.      Names::.).
  101. File: emacs,  Node: Misc Variables,  Prev: General Variables,  Up: Environment
  102. Misc Variables
  103. --------------
  104.    These variables are used only on particular configurations:
  105. `COMSPEC'
  106.      On MS-DOS, the name of the command interpreter to use.  This is
  107.      used to make a default value for the `SHELL' environment variable.
  108. `NAME'
  109.      On MS-DOS, this variable defaults to the value of the `USER'
  110.      variable.
  111. `TEMP'
  112. `TMP'
  113.      On MS-DOS, these specify the name of the directory for storing
  114.      temporary files in.
  115. `USE_DOMAIN_ACLS'
  116.      Used for Apollo machines to enable access control lists.
  117. `WINDOW_GFX'
  118.      Used when initializing the Sun windows system.
  119. File: emacs,  Node: Display X,  Next: Font X,  Prev: Environment,  Up: Command Arguments
  120. Specifying the Display Name
  121. ===========================
  122.    The environment variable `DISPLAY' tells all X clients, including
  123. Emacs, where to display their windows.  Its value is set up by default
  124. in ordinary circumstances, when you start an X server and run jobs
  125. locally.  Occasionally you may need to specify the display yourself; for
  126. example, if you do a remote login and want to run a client program
  127. remotely, displaying on your local screen.
  128.    With Emacs, the main reason people change the default display is to
  129. let them log into another system, run Emacs on that system, but have the
  130. window displayed at their local terminal.  You might need to use login
  131. to another system because the files you want to edit are there, or
  132. because the Emacs executable file you want to run is there.
  133.    The syntax of the `DISPLAY' environment variable is
  134. `HOST:DISPLAY.SCREEN', where HOST is the host name of the X Window
  135. System server machine, DISPLAY is an arbitrarily-assigned number that
  136. distinguishes your server (X terminal) from other servers on the same
  137. machine, and SCREEN is a rarely-used field that allows an X server to
  138. control multiple terminal screens.  The period and the SCREEN field are
  139. optional.  If included, SCREEN is usually zero.
  140.    For example, if your host is named `glasperle' and your server is
  141. the first (or perhaps the only) server listed in the configuration, your
  142. `DISPLAY' is `glasperle:0.0'.
  143.    You can specify the display name explicitly when you run Emacs,
  144. either by changing the `DISPLAY' variable, or with the option `-d
  145. DISPLAY' or `-display DISPLAY'.  These are initial options; they must
  146. come at the beginning of the command line.  *Note Initial Options::.
  147. Here is an example:
  148.      emacs -display glasperle:0 &
  149.    You can inhibit the direct use of X with the `-nw' option.  This is
  150. also an initial option.  This option tells Emacs to display using
  151. ordinary ASCII on its controlling terminal.
  152.    Sometimes, security arrangements prevent a program on a remote system
  153. from displaying on your local system.  In this case, trying to run Emacs
  154. produces messages like this:
  155.      Xlib:  connection to "glasperle:0.0" refused by server
  156. You might be able to overcome this problem by using the `xhost' command
  157. on the local system to give permission for access from your remote
  158. machine.
  159. File: emacs,  Node: Font X,  Next: Colors X,  Prev: Display X,  Up: Command Arguments
  160. Font Specification Options
  161. ==========================
  162.    By default, Emacs displays text in the font named `9x15', which
  163. makes each character nine pixels wide and fifteen pixels high.  You can
  164. specify a different font on your command line through the option `-fn
  165. NAME'.
  166. `-fn NAME'
  167.      Use font NAME as the default font.
  168. `-font NAME'
  169.      `-font' is an alias for `-fn'.
  170.    Under X, each font has a long name which consists of eleven words or
  171. numbers, separated by dashes.  Some fonts also have shorter
  172. nicknames--`9x15' is such a nickname.  You can use either kind of name.
  173. You can use wild card patterns for the font name; then Emacs lets X
  174. choose one of the fonts that match the pattern.  Here is an example,
  175. which happens to specify the font whose nickname is `6x13':
  176.      emacs -fn "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1" &
  177. You can also specify the font in your `.Xdefaults' file:
  178.      emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
  179.    A long font name has the following form:
  180.      -MAKER-FAMILY-WEIGHT-SLANT-WIDTHTYPE-STYLE...
  181.      ...-PIXELS-HEIGHT-HORIZ-VERT-SPACING-WIDTH-CHARSET
  182. FAMILY
  183.      This is the name of the font family-for example, `courier'.
  184. WEIGHT
  185.      This is normally `bold', `medium' or `light'.  Other words may
  186.      appear here in some font names.
  187. SLANT
  188.      This is `r' (roman), `i' (italic), `o' (oblique), `ri' (reverse
  189.      italic), or `ot' (other).
  190. WIDTHTYPE
  191.      This is normally `condensed', `extended', `semicondensed' or
  192.      `normal'.  Other words may appear here in some font names.
  193. STYLE
  194.      This is an optional additional style name.  Usually it is
  195.      empty--most long font names have two hyphens in a row at this
  196.      point.
  197. PIXELS
  198.      This is the font height, in pixels.
  199. HEIGHT
  200.      This is the font height on the screen, measured in printer's points
  201.      (approximately 1/72 of an inch), times ten.  For a given vertical
  202.      resolution, HEIGHT and PIXELS are proportional; therefore, it is
  203.      common to specify just one of them and use `*' for the other.
  204. HORIZ
  205.      This is the horizontal resolution, in pixels per inch, of the
  206.      screen for which the font is intended.
  207.      This is the vertical resolution, in dots per inch, of the screen
  208.      for which the font is intended.  Normally the resolution of the
  209.      fonts on your system is the right value for your screen;
  210.      therefore, you normally specify `*' for this and HORIZ.
  211. SPACING
  212.      This is `m' (monospace), `p' (proportional) or `c' (character
  213.      cell).  Emacs can use `m' and `c' fonts.
  214. WIDTH
  215.      This is the average character width, in pixels, times ten.
  216. CHARSET
  217.      This is the character set that the font depicts.  Normally you
  218.      should use `iso8859-1'.
  219.    Use only fixed width fonts--that is, fonts in which all characters
  220. have the same width; Emacs cannot yet handle display properly for
  221. variable width fonts.  Any font with `m' or `c' in the SPACING field of
  222. the long name is a fixed width font.  Here's how to use the `xlsfonts'
  223. program to list all the fixed width fonts available on your system:
  224.      xlsfonts -fn '*x*'
  225.      xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-m*'
  226.      xlsfonts -fn '*-*-*-*-*-*-*-*-*-*-*-c*'
  227. To see what a particular font looks like, use the `xfd' command.  For
  228. example:
  229.      xfd -fn 6x13
  230. displays the entire font `6x13'.
  231.    While running Emacs, you can set the font of the current frame
  232. (*note Frame Parameters::.) or for a specific kind of text (*note
  233. Faces::.).
  234. File: emacs,  Node: Colors X,  Next: Window Size X,  Prev: Font X,  Up: Command Arguments
  235. Window Color Options
  236. ====================
  237.    On a color display, you can specify which color to use for various
  238. parts of the Emacs display.  To find out what colors are available on
  239. your system, look at the `/usr/lib/X11/rgb.txt' file.  If you do not
  240. specify colors, the default for the background is white and the default
  241. for all other colors is black.  On a monochrome (black and white)
  242. display, the foreground is black, the background is white, and the
  243. border is grey.
  244.    Here is a list of the options for specifying colors:
  245. `-fg COLOR'
  246.      Specify the foreground color.
  247. `-bg COLOR'
  248.      Specify the background color.
  249. `-bd COLOR'
  250.      Specify the color of the border of the X window.
  251. `-cr COLOR'
  252.      Specify the color of the Emacs cursor which indicates where point
  253.      is.
  254. `-ms COLOR'
  255.      Specify the color for the mouse cursor when the mouse is in the
  256.      Emacs window.
  257.      Reverse video--swap the foreground and background colors.
  258.    For example, to use a coral mouse cursor and a slate blue text
  259. cursor, enter:
  260.      emacs -ms coral -cr 'slate blue' &
  261.    You can reverse the foreground and background colors through the
  262. `-r' option or with the X resource `reverseVideo'.
  263. File: emacs,  Node: Window Size X,  Next: Borders X,  Prev: Colors X,  Up: Command Arguments
  264. Options for Window Geometry
  265. ===========================
  266.    The `-geometry' option controls the size and position of the initial
  267. Emacs frame.  Here is the format for specifying the window geometry:
  268. `-geometry WIDTHxHEIGHT{+-}XOFFSET{+-}YOFFSET'
  269.      Specify window size WIDTH and HEIGHT (measured in character
  270.      columns and lines), and positions XOFFSET and YOFFSET (measured in
  271.      pixels).
  272. A positive XOFFSET specifies the distance from the left side of the
  273. screen, a negative XOFFSET specifies the distance from the right side
  274. of the screen, a positive YOFFSET specifies the distance from the top
  275. of the screen, and a negative YOFFSET specifies the distance from the
  276. bottom of the screen.
  277.    Emacs uses the same units as `xterm' does to interpret the geometry.
  278. The WIDTH and HEIGHT are measured in characters, so a large font
  279. creates a larger frame than a small font.  The XOFFSET and YOFFSET are
  280. measured in pixels.
  281.    Since the mode line and the echo area occupy the last 2 lines of the
  282. frame, the height of the initial text window is 2 less than the height
  283. specified in your geometry.  In non-toolkit versions of Emacs, the menu
  284. bar also takes one line of the specified number.
  285.    You do not have to specify all of the fields in the geometry
  286. specification.
  287.    If you omit both XOFFSET and YOFFSET, the window manager decides
  288. where to put the Emacs frame, possibly by letting you place it with the
  289. mouse.  For example, `164x55' specifies a window 164 columns wide,
  290. enough for two ordinary width windows side by side, and 55 lines tall.
  291.    The default width for Emacs is 80 characters and the default height
  292. is 40 lines.  You can omit either the width or the height or both.  If
  293. you start the geometry with an integer, Emacs interprets it as the
  294. width.  If you start with an `x' followed by an integer, Emacs
  295. interprets it as the height.  Thus, `81' specifies just the width;
  296. `x45' specifies just the height.
  297.    If you start with `+' or `-', that introduces an offset, which means
  298. both sizes are omitted.  Thus, `-3' specifies the XOFFSET only.  (If
  299. you give just one offset, it is always XOFFSET.)  `+3-3' specifies both
  300. the XOFFSET and the YOFFSET, placing the frame near the bottom left of
  301. the screen.
  302.    You can specify a default for any or all of the fields in
  303. `.Xdefaults' file, and then override selected fields through a
  304. `-geometry' option.
  305. File: emacs,  Node: Borders X,  Next: Icons X,  Prev: Window Size X,  Up: Command Arguments
  306. Internal and External Borders
  307. =============================
  308.    An Emacs frame has an internal border and an external border.  The
  309. internal border is an extra strip of the background color around all
  310. four edges of the frame.  Emacs itself adds the internal border.  The
  311. external border is added by the window manager outside the internal
  312. border; it may contain various boxes you can click on to move or iconify
  313. the window.
  314. `-ib WIDTH'
  315.      Specify WIDTH as the width of the internal border.
  316. `-bw WIDTH'
  317.      Specify WIDTH as the width of the main border.
  318.    When you specify the size of the frame, that does not count the
  319. borders.  The frame's position is measured from the outside edge of the
  320. external border.
  321.    Use the `-ib N' option to specify an internal border N pixels wide.
  322. The default is 1.  Use `-bw N' to specify the width of the external
  323. border (though the window manager may not pay attention to what you
  324. specify).  The default width of the external border is 2.
  325. File: emacs,  Node: Icons X,  Next: Resources X,  Prev: Borders X,  Up: Command Arguments
  326. Icons
  327. =====
  328.    Most window managers allow the user to "iconify" a frame, removing
  329. it from sight, and leaving a small, distinctive "icon" window in its
  330. place.  Clicking on the icon window makes the frame itself appear again.
  331. If you have many clients running at once, you can avoid cluttering up
  332. the screen by iconifying most of the clients.
  333. `-itype'
  334.      Use a picture of a gnu as the Emacs icon.
  335. `-iconic'
  336.      Start Emacs in iconified state.
  337.    The `-i' and `-itype' option tells Emacs to use an icon window
  338. containing a picture of the GNU gnu.  If omitted, Emacs lets the window
  339. manager choose what sort of icon to use--usually just a small rectangle
  340. containing the frame's title.
  341.    The `-iconic' option tells Emacs to begin running as an icon, rather
  342. than opening a frame right away.  In this situation, the icon window
  343. provides only indication that Emacs has started; the usual text frame
  344. doesn't appear until you deiconify it.
  345. File: emacs,  Node: Resources X,  Prev: Icons X,  Up: Command Arguments
  346. X Resources
  347. ===========
  348.    Programs running under the X Window System organize their user
  349. options under a hierarchy of classes and resources.  You can specify
  350. default values for these options in your X resources file, usually named
  351. `~/.Xdefaults'.
  352.    Each line in the file specifies a value for one option or for a
  353. collection of related options, for one program or for several programs
  354. (optionally even for all programs).
  355.    Programs define named resources with particular meanings.  They also
  356. define how to group resources into named classes.  For instance, in
  357. Emacs, the `internalBorder' resource controls the width of the internal
  358. border, and the `borderWidth' resource controls the width of the
  359. external border.  Both of these resources are part of the `BorderWidth'
  360. class.  Case distinctions are significant in these names.
  361.    In `~/.Xdefaults', you can specify a value for a single resource on
  362. one line, like this:
  363.      emacs.borderWidth: 2
  364. Or you can use a class name to specify the same value for all resources
  365. in that class.  Here's an example:
  366.      emacs.BorderWidth: 2
  367.    If you specify a value for a class, it becomes the default for all
  368. resources in that class.  You can specify values for individual
  369. resources as well; these override the class value, for those particular
  370. resources.  Thus, this example specifies 2 as the default width for all
  371. borders, but overrides this value with 4 for the external border:
  372.      emacs.Borderwidth: 2
  373.      emacs.borderwidth: 4
  374.    The order in which the lines appear in the file does not matter.
  375. Also, command-line options always override the X resources file.
  376.    The string `emacs' in the examples above is also a resource name.
  377. It actually represents the name of the executable file that you invoke
  378. to run Emacs.  If Emacs is installed under a different name, it looks
  379. for resources under that name instead of `emacs'.
  380.    When Emacs creates a new frame, it may or may not have a specified
  381. title.  The frame title, if specified, appears in window decorations and
  382. icons as the name of the frame.  It is also used (instead of the Emacs
  383. executable's name) to look up all the resources for that frame.  The
  384. option `-name' specifies a frame title for the initial frame.
  385. Subsequent frames normally have no frame title, but Lisp programs can
  386. specify a title when they create frames.
  387. `-name NAME'
  388.      Use NAME as the title of the initial frame.
  389.    For consistency, `-name' also specifies the name to use for other
  390. resource values that do not belong to any particular frame.
  391.    The resources that name Emacs invocations also belong to a class; its
  392. name is `Emacs'.  To specify options for all Emacs jobs, no matter what
  393. name is used to run them, write `Emacs' instead of `emacs', like this:
  394.      Emacs.BorderWidth: 2
  395.      Emacs.borderWidth: 4
  396.    You can specify a string of additional resource values for Emacs to
  397. use with the command line option `-xrm RESOURCES'.  The text RESOURCES
  398. should have the same format that you would use inside a file of X
  399. resources.  To include multiple resource specifications in DATA, put a
  400. newline between them, just as you would in a file.  You can also use
  401. `#include "FILENAME"' to include a file full of resource
  402. specifications.  Resource values specified with `-xrm' take precedence
  403. over all other resource specifications.
  404.    The following table lists the resource names that designate options
  405. for Emacs, each with the class that it belongs to:
  406. `background' (class `Background')
  407.      Background color name.
  408. `bitmapIcon' (class `BitmapIcon')
  409.      Use a bitmap icon (a picture of a gnu) if `on', let the window
  410.      manager choose an icon if `off'.
  411. `borderColor' (class `BorderColor')
  412.      Color name for the external border.
  413. `borderWidth' (class `BorderWidth')
  414.      Width in pixels of the external border.
  415. `cursorColor' (class `Foreground')
  416.      Color name for text cursor (point).
  417. `font' (class `Font')
  418.      Font name for text.
  419. `foreground' (class `Foreground')
  420.      Color name for text.
  421. `geometry' (class `Geometry')
  422.      Window size and position.  Be careful not to specify this resource
  423.      as `emacs*geometry', because that may affect individual menus as
  424.      well as the Emacs frame itself.
  425. `iconName' (class `Title')
  426.      Name to display in the icon.
  427. `internalBorder' (class `BorderWidth')
  428.      Width in pixels of the internal border.
  429. `paneFont' (class `Font')
  430.      Font name for menu pane titles, in non-toolkit versions of Emacs.
  431. `pointerColor' (class `Foreground')
  432.      Color of the mouse cursor.
  433. `reverseVideo' (class `ReverseVideo')
  434.      Switch foreground and background default colors if `on', use
  435.      colors as specified if `off'.
  436. `selectionFont' (class `Font')
  437.      Font name for pop-up menu items, in non-toolkit versions of Emacs.
  438.      (Toolkit versions, use `emacs.shell.menu.popup.font' instead--see
  439.      below.)
  440. `title' (class `Title')
  441.      Name to display in the title bar of the initial Emacs frame.
  442.    If the Emacs installed at your site was built to use an X toolkit,
  443. then the menu bar is a separate widget and has its own resources.  Their
  444. names start with `shell.pane.menubar'; specify them like this:
  445.      Emacs.shell.pane.menubar.RESOURCE:  VALUE
  446. For example, to specify the font `8x16' for the menu bar items, write
  447. this:
  448.      Emacs.shell.pane.menubar.font:  8x16
  449. or, for short, like this:
  450.      Emacs*menubar.font:  8x16
  451.    Resources for toolkit popup menus have `shell.menu.popup', in like
  452. fashion.  For example, to specify the font `8x16' for the menu bar
  453. items, write this:
  454.      Emacs.shell.menu.popup.font:    8x16
  455.    Here is a list of the specific resources for menu bars and popup
  456. menus:
  457. `font'
  458.      Font for menu item text.
  459. `foreground'
  460.      Color of the foreground.
  461. `background'
  462.      Color of the background.
  463. `buttonForeground'
  464.      In the menu bar, the color of the foreground for a selected item.
  465. `horizontalSpacing'
  466.      Horizontal spacing in pixels between items.  Default is 3.
  467. `verticalSpacing'
  468.      Vertical spacing in pixels between items.  Default is 1.
  469. `arrowSpacing'
  470.      Horizontal spacing between the arrow (which indicates a submenu)
  471.      and the associated text.  Default is 10.
  472. `shadowThickness'
  473.      Thickness of shadow line around the widget.
  474.    Here are resources for controlling the appearance of particular faces
  475. (*note Faces::.):
  476. `FACE.attributeFont'
  477.      Font for face FACE.
  478. `FACE.attributeForeground'
  479.      Foreground color for face FACE.
  480. `FACE.attributeBackground'
  481.      Background color for face FACE.
  482. `FACE.attributeUnderline'
  483.      Underline flag for face FACE.
  484. File: emacs,  Node: Antinews,  Next: MS-DOS,  Prev: Command Arguments,  Up: Top
  485. Emacs 18 Antinews
  486. *****************
  487.    For those users who live backwards in time, here is information about
  488. downgrading to Emacs version 18.  We hope you will enjoy the greater
  489. simplicity that results from the absence of many Emacs 19 features.
  490. Packages Removed
  491. ================
  492.    To reduce the size of the distribution, we have eliminated numerous
  493. packages including GNUS, VC (version control), Hexl (for editing binary
  494. files), Edebug, Emerge, Mpuz, Spook, and Gomoku.
  495.    Major modes removed in Emacs 18 include C++ mode, Awk mode, Icon
  496. mode, Asm mode, Makefile mode, Perl mode and SGML mode.
  497.    The function `enable-flow-control' does not exist; see the file
  498. `PROBLEMS' in the Emacs distribution for directions for coping with
  499. flow control.
  500.    The Calendar feature provided is a very simple one.  All it can do is
  501. display three months, by default centered around the current month.  If
  502. you give it a numeric argument, that specifies the number of months
  503. forward or back.
  504. Fundamental Changes
  505. ===================
  506.    Auto save and garbage collection happen only while you are typing,
  507. never while you are idle.  This is to make them more like affectionate
  508. pets.  Think of them as cats that like to sit on your terminal only
  509. when you are working there.
  510.    Transient Mark mode and Line Number mode are absent in Emacs 18.  If
  511. you are an Emacs user, you are smart enough to keep track of the mark
  512. in your head, and you don't need line numbers because you can search
  513. for precisely the text you want.
  514.    There are no menu bars or scroll bars; no faces, text properties or
  515. overlays.  You can't use `Mouse-2' to select files or objects referred
  516. to in the buffer.
  517.    There are no minibuffer history commands.
  518.    There is only one frame, so the Emacs 19 `C-x 5' command series is
  519. meaningless.  Instead, `C-x 5' in Emacs 18 splits the selected window
  520. horizontally (like `C-x 3' in Emacs 19).
  521.    Another simplification in Emacs 18 is that all input events are
  522. characters.  Function keys and arrow keys are represented as sequences
  523. of characters; the terminal-specific Emacs Lisp file for your terminal
  524. is responsible for defining them.  Mouse buttons are defined by a
  525. special keymap, `mouse-map'.  See the file `x-mouse.el' for how to bind
  526. mouse clicks.
  527.    There is no support for European character sets such as ISO Latin-1.
  528. Character codes 128 and above always display using `\NNN' notation.
  529. For codes 0 through 31, you can choose between `\NNN' and `^C' by
  530. setting the variable `ctl-arrow'; but that is the only thing you can
  531. specify about how character codes should display.
  532.    You can't refer to files on other machines using special "magic"
  533. file names.  Instead, you must use the `ftp' library with commands such
  534. as `M-x ftp-find-file' and `M-x ftp-write-file'.  Since automatic
  535. uncompression also uses magic file names, that too is gone.
  536.    The character for terminating an incremental search is now ESC, not
  537. RET as in Emacs 19.  If you type RET, that searches for a newline;
  538. thus, you can insert a newline in the search string just as you would
  539. insert it in the text.
  540. Key Binding Changes
  541. ===================
  542.    The key for `backward-paragraph' is now `M-['.  The key for
  543. `forward-paragraph' is now `M-]'.
  544.    The command `repeat-complex-command' is now on `C-x ESC'.
  545.    The register commands have different key bindings:
  546. `C-x /'
  547.      `point-to-register'
  548. `C-x j'
  549.      `jump-to-register'
  550. `C-x x'
  551.      `copy-to-register'
  552. `C-x g'
  553.      `insert-register'
  554. `C-x r'
  555.      `copy-rectangle-to-register'
  556.    The narrowing commands have also been moved:
  557. `C-x n'
  558.      `narrow-to-region'
  559. `C-x p'
  560.      `narrow-to-page'
  561. `C-x w'
  562.      `widen'
  563.    And the abbrev commands as well:
  564. `C-x C-a'
  565.      `add-mode-abbrev'
  566. `C-x +'
  567.      `add-global-abbrev'
  568. `C-x C-h'
  569.      `inverse-add-mode-abbrev'
  570. `C-x -'
  571.      `inverse-add-global-abbrev'
  572. `C-x `'
  573.      `expand-abbrev'
  574.    There are no key bindings for the rectangle commands.
  575.    `C-x a' now runs the command `append-to-buffer'.
  576.    The key bindings `C-x 4 r' and `C-x 4 C-o' do not exist.
  577.    The help commands `C-h C-f', `C-h C-k' and `C-h p' do not exist in
  578. Emacs 18.
  579.    The command `C-M-l' (`reposition-window') is absent.  Likewise
  580. `C-M-r' (`isearch-backward-regexp').
  581.    The "two column" commands starting with `C-x 6' don't exist in Emacs
  582.    The TeX mode bindings of `C-c {' and `C-c }' have been moved to
  583. `M-{' and `M-}'.  (These commands are `up-list' and
  584. `tex-insert-braces'; they are the TeX equivalents of `M-(' and `M-)'.)
  585. Incremental Search Changes
  586. ==========================
  587.    As mentioned above, the character for terminating an incremental
  588. search is now ESC, not RET as in Emacs 19.  If you type RET, that
  589. searches for a newline; thus, you can insert a newline in the search
  590. string just as you would insert it in the text.
  591.    There is no ring of previous search strings in Emacs 18.  You can
  592. reuse the most recent search string, but that's all.
  593.    If `case-fold-search' is non-`nil', then incremental search is
  594. *always* case-insensitive.  Typing an upper-case letter in the search
  595. string has no effect on this.
  596.    Spaces in the incremental search string match only spaces.
  597.    The meanings of the special search characters are no longer
  598. controlled by a keymap.  Instead, particular variables named
  599. `search-...-char' specify the character that should have a particular
  600. function.  For example, `C-s' repeats the search because the value of
  601. `search-repeat-char' is `?\C-s'.
  602. Editing Command Changes
  603. =======================
  604.    `C-n' (`next-line') does not check the variable
  605. `next-line-add-newlines'.
  606.    The sexp commands such as `C-M-f' no longer know anything about
  607. comments, in modes such as Lisp mode where the end of a comment is the
  608. end of the line.  They treat the text inside a comment as if it were
  609. actual code.  If comments containing unbalanced parentheses cause
  610. trouble, you can use the commands `C-M-n' and `C-M-p', which do ignore
  611. comments.
  612.    You can't store file names in registers, and there are no frame
  613. configurations at all.  The command `M-x string-rectangle' does not
  614. exist either.
  615.    The undo command in Emacs 18 is not careful about where to leave
  616. point when you undo a deletion.  It ends up at one end or the other of
  617. the text just undeleted.  You must be on the lookout for this, and move
  618. point appropriately.
  619.    Kill commands do nothing useful in read-only buffers.  They just
  620. beep.
  621.    `M-z C' in Emacs 18 kills up to but not including the first
  622. occurrence of C.  If C does not occur in the buffer after point, `M-z'
  623. kills the whole rest of the buffer.
  624.    The function `erase-buffer' is not a command in Emacs 18.  You can
  625. call it from a Lisp program, but not interactively.  The motivation for
  626. this is to protect you from accidentally deleting (not killing) the
  627. entire text of a buffer that you want to keep.  With subsequent changes
  628. in even earlier Emacs versions (such as version 18.54), you might be
  629. unable to undo the `erase-buffer'.
  630.    `M-x fill-nonuniform-paragraphs' and Adaptive Fill mode do not exist.
  631. Other Brief Notes
  632. =================
  633.    The mode line displays `%%' for all read-only buffers, whether
  634. modified or not.
  635.    The command `resize-minibuffer-mode' has been removed.  If you want
  636. to change the size of the minibuffer, do it by hand.
  637.    Outline mode exists only as a major mode, not as a minor mode.
  638.    `M-!' (`shell-command') always runs the command synchronously, even
  639. if the command ends with `&'.
  640.    Emacs 18 has no special mode for change log files.  It is a good idea
  641. to use Indented Text mode, and specify 8 as the value of the variable
  642. `left-margin'.
  643.    The command `M-x comment-region' does not exist.  The command `M-x
  644. super-apropos' does not exist.
  645.    `C-x q' (`kbd-macro-query') now uses `C-d' to terminate all
  646. iterations of the keyboard macro, rather than ESC.
  647.    The `M-x setenv' command is missing in Emacs 18.
  648.    `M-$' now uses the Unix spell program instead of the GNU program
  649. Ispell.  If the word around point is a misspelling, it asks you for a
  650. replacement.
  651.    To check spelling of larger units of text, use `M-x spell-region' or
  652. `M-x spell-buffer'.  These commands check all words in the specified
  653. piece of text.  For each word that is not correct, they ask you to
  654. specify a replacement, and then replace each occurrence.
  655.    `M-x gdb' still exists in Emacs 18.  `M-x dbx' exists, but is
  656. somewhat different (use `C-h m' to find the details).  `M-x sdb' does
  657. not exist at all, but who wants to use SDB?
  658.    In Buffer Menu mode, the commands `%' and `C-o' don't work in Emacs
  659. 18.  The `v' command has been eliminated and merged with the `q'
  660. command, which now exits the buffer menu, displaying all the buffers
  661. that you have marked.
  662.    The View commands (such as `M-x view-buffer' and `M-x view-file')
  663. now use recursive edits.  When you exit viewing, the recursive edit
  664. returns to its caller.
  665.    Emacs 18, like most programs, interprets command line options only
  666. when it is started-not later on.
  667.    The variable to control whether files can set local variables is
  668. called `inhibit-local-variables'.  A non-`nil' value means ask the user
  669. before obeying any local variables lists.
  670.    The user option for controlling use of the `eval' local variable is
  671. now called `inhibit-local-eval'.  A non-`nil' value means to ask the
  672. user before obeying any `eval' local variable.
  673. File Handling Changes
  674. =====================
  675.    As mentioned above, you can't refer to files on other machines using
  676. special "magic" file names.  Instead, you must use the `ftp' library
  677. with commands such as `M-x ftp-find-file' and `M-x ftp-write-file'.
  678.    When you run `M-x revert-buffer' with no numeric argument, if the
  679. buffer has an auto save file more recent that the visited file,
  680. `revert-buffer' asks whether to revert from the auto save file instead.
  681.    When `C-x s' (`save-some-buffers') offers to save each buffer, you
  682. have only two choices: save it, or don't save it.
  683.    `M-x recover-file' turns off Auto Save mode in the current buffer.
  684. To turn it on again, use `M-x auto-save-mode'.
  685.    The command `M-x rename-uniquely' does not exist; instead, use `M-x
  686. rename-buffer' and try various names until you find one that isn't in
  687. use.  Completion can make this easier.
  688.    The directory name abbreviation feature is gone in Emacs 18.
  689.    Emacs 18 has no idea of file truenames, and does not try to detect
  690. when you visit a file via a symbolic link.  You should check manually
  691. when you visit a file, so as to edit it in the directory where it is
  692. actually stored.  This way you can make sure that backup files and
  693. change log entries go in the proper directory.
  694.    `M-x compare-windows' ignores any numeric argument and always
  695. considers case and whitespace differences significant.  As for the
  696. other ways of comparing files, `M-x diff' and `M-x diff-backup', they
  697. don't exist at all.
  698. Mail Changes
  699. ============
  700.    `%' is now a word-component character in Mail mode.  This is to be
  701. compatible with Text mode.
  702.    The variable `mail-signature' is not meaningful; if you wish to
  703. insert your signature in a mail message, you must type `C-c C-w'.
  704.    Mail aliases expand only when you send the message--never when you
  705. type them in.
  706.    Rmail now gets new mail into your primary mail file from `~/mbox' as
  707. well as from your system inbox file.  This is handy if you occasionally
  708. check your newest mail with the `mail' program; whatever you have
  709. looked at and saved with `mail' will be brought into Rmail the next
  710. time you run Rmail.
  711.    The `e' command is now "expunge", just like `x'.  To edit the
  712. current message, type `w', which works in Emacs 19 as well.  If you
  713. type `e' meaning to edit, and it expunges instead--well, you shouldn't
  714. have deleted those messages if you still wanted them.
  715.    The Rmail summary buffer is now much simpler.  Only a few special
  716. commands are available there: `n', `p', and `j' for motion, `d' and `u'
  717. for deletion, and SPC and DEL for scrolling the message.  To do
  718. anything else, you must go to the Rmail buffer.  Also, changes in the
  719. Rmail buffer don't update the summary; to do that, you must make a new
  720. summary.
  721.    The Rmail command `rmail-resend' (accessible via `f' with a numeric
  722. argument in Emacs 19) does not exist in Emacs 18.  Neither does
  723. `rmail-retry-failure' (`M-m' in Emacs 19).
  724.    The Rmail sorting features have been removed, so you can be sure the
  725. order you see is the order that the messages arrived.
  726.    The `<' and `b' commands have been removed in Emacs 18.  Likewise
  727. `C-M-t' (`rmail-summarize-by-topic') and `M-x unrmail'.  Rmail in Emacs
  728. 18 is so good, that we can't imagine anyone who has tried it would ever
  729. wish to use another mail reader.
  730.    You must use the `o' command for output to a Rmail file, and the
  731. `C-o' for output to a file in system mailbox format.  The default
  732. output file for `o' is now always the last file that you used with `o'.
  733. The variable `rmail-output-file-alist' has no special meaning.
  734.    Emacs 18 Rmail does not know anything about Content Length fields in
  735. messages.
  736. C Mode Changes
  737. ==============
  738.    In C mode, the keys `M-a' and `M-e' now have their usual meanings:
  739. motion by sentences.  This is useful while editing the comments in a C
  740. program, but not useful for editing code.  We hope this will encourage
  741. you to write lots of comments.
  742.    The commands `M-x c-up-conditional' and `M-x c-backslash-region' have
  743. been removed entirely in Emacs 18.
  744. Compilation Changes
  745. ===================
  746.    `M-x compile' now has a much simpler and faster parser for error
  747. messages.  However, it understands fewer different formats for error
  748. messages, and is not as easy to customize.
  749.    There is no special mode for compilation buffers.  When you select
  750. the compilation buffer itself, it is just ordinary text.
  751.    Speaking of selecting the compilation buffer, you do need to do that
  752. from time to time to see whether the compilation has finished, because
  753. Emacs 18 does not display `Compiling' in the mode line to tell you the
  754. compilation is still going.
  755. Shell Mode Changes
  756. ==================
  757.    Shell mode in Emacs 18 does nothing special for the keys TAB, `M-?',
  758. `C-d'.  The commands `M-x dirs' and `M-x send-invisible' are also gone.
  759.    The history commands `M-p' and so on are not available either;
  760. instead, use `C-c C-y' (`copy-last-shell-input').  This copies the
  761. previous bunch of shell input, and inserts it into the buffer before
  762. point.  No final newline is inserted, and the input copied is not
  763. resubmitted until you type RET.
  764.    Use `C-c C-d' to send an "end of file" to the shell process.
  765. Dired Changes
  766. =============
  767.    For simplicity, Dired in Emacs 18 supports just one kind of mark: the
  768. deletion flag, `D'.  The Emacs 19 Dired commands for flagging files do
  769. work in Emacs 18, but all the other mark-related commands do not.
  770.    The Dired subdirectory commands don't exist in Emacs 18.  A Dired
  771. buffer can contain only one directory.  In particular, this means that
  772. the variable `dired-listing-switches' must not contain the `R' option.
  773. (The `F' option is also not allowed.)
  774.    The commands for using `find' with Dired have been removed for
  775. simplicity, also.
  776.    Emacs 18 Dired provides the following commands for manipulating files
  777. immediately, and no others.  All of these commands apply to the file
  778. listed on the current line.
  779.      Copies the file described on the current line.  You must supply a
  780.      file name to copy to, using the minibuffer.
  781.      Visits the file described on the current line.  It is just like
  782.      typing `C-x C-f' and supplying that file name.  If the file on
  783.      this line is a subdirectory, `f' actually causes Dired to be
  784.      invoked on that subdirectory.
  785.      Change the group of the file described on the current line.
  786.      Change the file mode of the file described on the current line.
  787.      Like `f', but uses another window to display the file's buffer.
  788.      The Dired buffer remains visible in the first window.  This is
  789.      like using `C-x 4 C-f' to visit the file.
  790.      Change the owner of the file described on the current line.  (On
  791.      most systems, you must be a superuser to do this.)
  792.      Renames the file described on the current line.  You must supply a
  793.      file name to rename to, using the minibuffer.
  794.      Views the file described on this line using `M-x view-file'.
  795.      Viewing a file is like visiting it, but is slanted toward moving
  796.      around in the file conveniently and does not allow changing the
  797.      file.
  798. File: emacs,  Node: MS-DOS,  Next: Manifesto,  Prev: Antinews,  Up: Top
  799. MS-DOS Issues
  800. *************
  801.    This section briefly describes the peculiarities of using Emacs under
  802. the MS-DOS "operating system" (also known as "MS-DOG").
  803.    MS-DOS normally uses a backslash, `\', to separate name units within
  804. a file name, instead of the slash used on other systems.  Emacs on
  805. MS-DOS permits use of either slash or backslash.
  806.    On MS-DOS, file names are case-insensitive and limited to eight
  807. characters, plus optionally a period and three more characters.  Emacs
  808. does not know about this limitation; it is up to you to specify valid
  809. file names.  Excess characters before or after the period are generally
  810. ignored.
  811.    Display on MS-DOS in Emacs 19.26 does not support menus or multiple
  812. fonts.  Support for multiple faces that specify different colors should
  813. be added in version 19.27.
  814.    Emacs on MS-DOS does support a mouse (on the default terminal only).
  815. The mouse commands work as documented, aside from those that try to use
  816. menus.  *Note Mouse Commands::.
  817.    Because MS-DOS is a single-process "operating system", asynchronous
  818. subprocesses are not available.  In particular, Shell mode and its
  819. derivatives do not work.  Compilation under Emacs with `M-x compile'
  820. does work, but the compiler runs synchronously; you cannot do any more
  821. editing until the compilation finishes.
  822.    When you run a subprocess synchronously on MS-DOS, make sure the
  823. program terminates and does not try to read keyboard input.  If the
  824. program does not terminate on its own, you will be unable to terminate
  825. it, because MS-DOS provides no general way to terminate a process.
  826.